package com.fmsz.physicalheadline.entity.root;

import android.content.Context;
import android.content.Intent;
import android.view.View;
import android.widget.Toast;

import com.fmsz.physicalheadline.activitys.BaseActivity;
import com.fmsz.physicalheadline.activitys.WelcomeActivity;

import java.util.Date;

/**
 * Created by Administrator on 2017/1/10.
 */

public class RootEntity {
    private int code;
    private RootData data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public RootData getData() {
        return data;
    }

    public void setData(RootData data) {
        this.data = data;
    }
    public class RootData{
        private long id;
        private String info_key,data_link,adv_time;
        private boolean enable_flag,search_flag;
        private Date create_time;
        private int type;

        public String getAdv_time() {
            return adv_time;
        }

        public void setAdv_time(String adv_time) {
            this.adv_time = adv_time;
        }

        public Date getCreate_time() {
            return create_time;
        }

        public void setCreate_time(Date create_time) {
            this.create_time = create_time;
        }

        public String getData_link() {
            return data_link;
        }

        public void setData_link(String data_link) {
            this.data_link = data_link;
        }

        public boolean isEnable_flag() {
            return enable_flag;
        }

        public void setEnable_flag(boolean enable_flag) {
            this.enable_flag = enable_flag;
        }

        public long getId() {
            return id;
        }

        public void setId(long id) {
            this.id = id;
        }

        public String getInfo_key() {
            return info_key;
        }

        public void setInfo_key(String info_key) {
            this.info_key = info_key;
        }

        public boolean isSearch_flag() {
            return search_flag;
        }

        public void setSearch_flag(boolean search_flag) {
            this.search_flag = search_flag;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

    }
}
